#!/bin/bash

#protoc 环境按照
#protoc a-- https://github.com/google/protobuf/releases/tag/v3.3.0

echo "1"
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway

echo "2"
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go

#https://91tianlu.cn/knowledgebase.php?action=displayarticle&id=7

echo "2"
#gogo
go get -u -v github.com/gogo/protobuf/protoc-gen-gogo

#gofast
go get  -u -v github.com/gogo/protobuf/protoc-gen-gofast

echo "3"
go get  -u -v github.com/gogo/protobuf/proto
go get  -u -v github.com/gogo/protobuf/gogoproto
go get  -u -v google.golang.org/grpc
go get  -u -v github.com/gogo/protobuf/protoc-gen-gogofast
go get  -u -v github.com/gogo/protobuf/protoc-gen-gogofaster
go get  -u -v github.com/gogo/protobuf/protoc-gen-gogoslick
go get  -u -v github.com/Workiva/go-datastructures/queue
go get  -u -v github.com/emirpasic/gods/stacks/linkedliststack
go get  -u -v github.com/orcaman/concurrent-map
go get  -u -v github.com/AsynkronIT/gonet
go get  -u -v github.com/hashicorp/consul/api
go get  -u -v github.com/AsynkronIT/goconsole
go get  -u -v github.com/emirpasic/gods/sets/hashset
go get  -u -v github.com/serialx/hashring
go get  -u -v github.com/couchbase/gocb